import { FormSchema } from '@/components/Form';
// import { getAreaTree } from '@/api/common/index';

export const addresSchemas: FormSchema[] = [
  {
    field: 'name',
    component: 'Input',
    label: '姓名',
    required: true,
    colProps: {
      span: 8,
      offset: 2,
    },
  },
  {
    field: 'mobile',
    component: 'Input',
    label: '联系电话',
    required: true,
    colProps: {
      span: 8,
      offset: 2,
    },
  },
  {
    field: 'idNumber',
    component: 'Input',
    label: '身份证',
    required: true,
    colProps: {
      span: 8,
      offset: 2,
    },
  },
  {
    field: 'driveAge',
    component: 'Input',
    label: '驾龄',
    required: true,
    colProps: {
      span: 8,
      offset: 2,
    },
  },
  {
    field: 'dl',
    component: 'Input',
    label: '执照',
    required: true,
    colProps: {
      span: 8,
      offset: 2,
    },
  },
  {
    field: 'model',
    component: 'ApiSelect',
    label: '车辆类型',
    required: true,
    colProps: {
      span: 8,
      offset: 2,
    },
  },
  {
    field: 'licensePlate',
    component: 'Input',
    label: '车辆',
    required: true,
    colProps: {
      span: 8,
      offset: 2,
    },
  },

  {
    field: 'loadNumber',
    component: 'Input',
    label: '运载量',
    colProps: {
      span: 8,
      offset: 2,
    },
    required: true,
  },
  {
    field: 'spec',
    component: 'Input',
    label: '规格',
    colProps: {
      span: 8,
      offset: 2,
    },
    required: true,
  },
];
